package com.six.business.feign;

import com.six.core.entity.Shop;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: WangPeng
 * @createTime: 2023/03/16 16:58
 * @description:
 * @version: v1.0
 */
@FeignClient(value = "caicaibang-shop")
public interface ShopFeign {
    @PostMapping("/shop/api/shop/add")
    Integer add(@RequestBody Shop shop);
}

